package xyz.jangle.thread.storage2;

/**
 * @author jangle
 * @email 274676957@qq.com
 * 2025年8月3日 上午9:21:22
 */
public class SetTask implements Runnable {
	
	private Storage2 storage;
	
	public SetTask(Storage2 storage) {
		super();
		this.storage = storage;
	}

	@Override
	public void run() {
		for (int i = 0; i < 100; i++) {
			storage.set();
		}

	}

}
